Image decompression from transform coefficients

ABSTRACT

An image decompressing system includes the processes of: a) determining a size of a decompressed image; b) determining a decomposition level to which decomposition-level-type inverse wavelet transform is performed; and c) decompressing given wavelet transform coefficients to the decomposition level determined by the step b), wherein the step b) determines the decomposition level such that wavelet transform coefficients in the thus-determined decomposition level have a size equal to or nearest to the size of the decomposed image determined by the step a).

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention generally relates to image decompression, and, in particular, to image decompression of decompressing image data in a form of wavelet transform coefficients or subband transform coefficients so as to obtain a decompressed image having a given size, in particular, a reduced-sized image such as a thumbnail image.

2. Description of the Related Art

A JPEG scheme which is a conventional encoding scheme for decompressing a coded natural image has been used for decompressing a coded image so as to obtain a decompressed image having a size same as that of an original image (see ISO/IEC 10918-1, ‘Information Technology Digital Compressing and Coding of Continuos-tone Still Images’). Therefore, in order to output a coded image to various output devices having different resolutions, expansion/reduction (change in the number of pixels) of an decompressed image should be previously performed. Moreover, in the related art, according to wavelet transform, a decompressed image has the same size as that of an original image. Accordingly, in order to obtain a decompressed image having a size according to a user's request, it is needed to perform a size-change process after performing wavelet inverse transform, so as to adjust the image size.

SUMMARY OF THE INVENTION

The present invention has been devised in consideration of the above-described situation, and, an object of the present invention is to provide an image decompression system obtaining a highly reliable and high definition decompressed image without performing a size-change process after performing a decompression process, or, even when a size-change process is performed so as to obtain a various-sized image, requiring merely a reduced time therefor.

An image decompressing system according to the present invention includes the processes of:

a) determining a size of a decompressed image;

b) determining a decomposition level to which decomposition-level-type inverse wavelet transform is performed; and

c) decompressing given wavelet transform coefficients to the decomposition level determined by the process b),

wherein the process b) determines the decomposition level such that the wavelet transform coefficients in the thus-determined decomposition level have a size equal to or nearest to the size of the decomposed image determined by the process a).

Thereby, it is possible to obtain a decompressed image having a size near the size determined, that is, input by a user, and also, having a high image quality. Specifically, it is possible to obtain an image having a high image quality at high speed, merely needing a reduced memory capacity, in comparison to a case where, after decompression is performed for all the decomposition levels, sub-sampling is performed thereon.

The decomposition level determined by the process b) may be such that the size of the wavelet transform coefficients of the thus-determined decomposition level is immediately smaller than the size of decompressed image determined by the process a).

Thereby, it is possible to effectively reduce the time required for the decompressing process.

The decomposition level determined by the process b) may be such that the size of the wavelet transform coefficients of the thus-determined decomposition level is immediately larger than the size of decompressed image determined by the process a).

Thereby, it is possible to obtain an image having a size slightly larger than the size indicated by a user.

The above-mentioned system may further include a process d) of performing size-change operation on the decompressed image obtained by the process c) so as to obtain an image having a size precisely equal to the size determined by the process a).

Thereby, it is possible to obtain an image having the size precisely equal to the size indicated by the user.

The wavelet transform coefficients to be decompressed by the process c) may comprise a code stream coded in accordance with JPEG2000, Image Coding System (ISO/IEC, FCD 15444-1).

The above-mentioned system may further include a process e) of performing interpolation operation so as to obtain a bitmap image having the size equal to the size determined by the process a) from the size-changed image obtained by the step d).

In this configuration, it is possible to obtain pixel values of pixels which are not included in the decompressed image by the interpolation operation.

The above-mentioned process e) may comprise the step of performing linear interpolation.

The above-mentioned process e) may comprise a process of using pixel values of pixels near pixels included in the decompressed image.

An image decompressing system according to another aspect of the present invention includes the processes of:

a) determining a size of a decompressed image;

b) determining a decomposition level to which decomposition-level-type inverse subband transform is performed; and

c) decompressing given subband transform coefficients to the decomposition level determined by the process b),

wherein the step b) determines the decomposition level such that subband transform coefficients in the thus-determined decomposition level have a size equal to or nearest to the size of the decomposed image determined by the process a).

In this system, by utilizing the subband transform coefficients instead of the wavelet transform coefficients as in the above-mentioned scheme, substantially the same effects/advantages can be obtained. In this case, a lower-frequency component of the subband transform coefficients in the decomposition level may be preferably utilized as a lower-frequency component of the transform coefficients has a larger energy, that is, expresses an outline of an original image more faithfully.

An image decompressing system according to another aspect of the present invention includes the processes of:

a) determining a size of a decompressed image;

b) determining a decomposition level up to which decomposition-level-type inverse wavelet transform is performed; and

c) decompressing given wavelet transform coefficients to the decomposition level determined by the process b),

wherein the process b) determines the decomposition level such that wavelet transform coefficients in the thus-determined decomposition level have a size further smaller than the size of the decomposition level immediately smaller than the size of the decomposed image determined by the process a).

In this system, as the decomposition level up to which decomposition-level-type wavelet inverse transform is performed is further higher than that in the above-mentioned system, it is possible to further improve the processing speed, that is, reduce the time required for the decomposition process more effectively.

The above-mentioned system may further include a process d) of producing a lower-frequency component from LL subband coefficients when the size determined by the process a) is smaller than the size of the LL subband of wavelet transform coefficients in the highest decomposition level.

The above-mentioned process d) may utilize the decomposition-level-type wavelet transform formula used in the system as it is.

The above-mentioned process d) may take averages of adjacent pixels The above-mentioned system may further include a process d) of performing size-change operation on the decompressed image obtained by the process c) so as to obtain an image having a size equal to the size determined by the process a).

The above-mentioned system may further include a process e) of performing interpolation operation so as to obtain a bitmap image having the size equal to the size determined by the step a) from the size-changed image obtained by the process d).

The wavelet transform coefficients to be decompressed by the process c) may comprise a code stream coded in accordance with JPEG2000, Image Coding System (ISO/IEC, FCD 15444-1).

An image decompressing system according to another aspect of the present invention includes the processes of:

a) determining a size of a decompressed image;

b) determining a decomposition level up to which decomposition-level-type inverse subband transform is performed; and

c) decompressing given wavelet transform coefficients to the decomposition level determined by the process b),

wherein the process b) determines the decomposition level such that subband transform coefficients in the thus-determined decomposition level have a size further smaller than the size of the decomposition level immediately smaller than the size of the decomposed image determined by the process a).

Thus, by using subband transform coefficients instead of the wavelet transform coefficients as in the above-mentioned system, substantially the same advantages/effects may be obtained. Also in this scheme, it is preferable to utilize a lower-frequency component of the subband transform coefficients in the decomposition level by the reason same as that mentioned above.

The above-mentioned system may further include a process d) of producing a lower-frequency component from LL subband coefficients when the size determined by the process a) is smaller than the size of the LL subband of wavelet transform coefficients in the highest decomposition level.

The above-mentioned process d) may utilize the decomposition-level-type wavelet transform formula used in the system as it is.

The above-mentioned process d) may take averages of adjacent pixels.

The above-mentioned system may further include a process d) of performing size-change operation on the decompressed image obtained by the process c) so as to obtain an image having a size equal to the size determined by the process a).

The above-mentioned system may further include a process e) of performing interpolation operation so as to obtain a bitmap image having the size equal to the size determined by the process a) from the size-changed image obtained by the process d).

BRIEF DESCRIPTION OF THE DRAWINGS

Other objects and further features of the present invention will become more apparent from the following detailed description when read in conjunction with the following accompanying drawings:

FIG. 1 shows an operation flow of an image decompressing method in a first embodiment of the present invention employing a decomposition-level-type wavelet transform scheme;

FIG. 2 shows an operation flow of an image decompressing method in a second embodiment of the present invention employing a decomposition-level-type subband transform scheme;

FIG. 3 shows an operation flow of an image decompressing method in a third embodiment of the present invention employing a decomposition-level-type wavelet transform scheme;

FIG. 4 shows an operation flow of the image decompressing method in the third embodiment of the present invention in a case where a size of an image indicated by a user is smaller than the size of the LL subband of the wavelet transform coefficients in the highest or last decomposition level;

FIG. 5 shows an operation flow of an image decompressing method in a fourth embodiment of the present invention employing a decomposition-level-type subband transform scheme;

FIG. 6 shows an operation flow of the image decompressing method in the fourth embodiment of the present invention in a case where a size of image indicated by a user is smaller than the size of the lowest-frequency-component LL subband of the subband transform coefficients in the highest or last decomposition level;

FIG. 7 illustrates a configuration of a general-purpose computer by which the present invention may be embodied;

FIG. 8 shows a block diagram illustrating an image decompressing apparatus in a first embodiment of the present invention corresponding to the image decompressing methods in the first and third embodiments of the present invention shown in FIGS. 1 and 3; and

FIG. 9 shows a block diagram illustrating an image decompressing apparatus in a second embodiment of the present invention corresponding to the image decompressing methods in the second and fourth embodiments of the present invention shown in FIGS. 2 and 5.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

First, a configuration and a principle of operation of an image decompression method in a first embodiment of the present invention in a case where a wavelet transform scheme is applied will now be described.

A decomposition-level-type wavelet transform scheme is such that respective subbands are obtained as a result of an image being decomposed into wavelet transform coefficients in a range between a high-frequency component and a low-frequency component when the image is coded. Thereby, an LL component or subband (a component of low frequency vertically and horizontally of the original image) is obtained as a low-frequency component having a size of ½^(n) of the original image horizontally and vertically, and, by using this LL component, a size-change process (size reduction) may not be needed.

Further, according to the decomposition-level-type wavelet transform scheme, different from a JPEG scheme in which contiguity pixels are taken by sub-sampling from a bitmap image obtained through decompression, a high definition decompressed image can be produced, without losing any information of contiguity pixels of an original image, by utilizing a low-frequency component of the nearest decomposition level corresponding to a size-reduced image requested by a user.

FIG. 1 shows an image decompressing method in the first embodiment of the present invention in which a user inputs a desired image size and decompresses from an already coded natural image (wavelet transform coefficients), and, in particular, a bitmap image is obtained according to the input image size.

As shown in the figure, this method includes an image size determination step 1, by which an image size 2 is determined according to a request by a user. In this case, it is assumed that the ratio between the vertical length and horizontal length of image is fixed.

In this system, wavelet transform coefficients 3 previously obtained through wavelet transform and stored in a buffer memory are used. Specifically, the wavelet transform coefficients 4 in a decomposition level (i+1) having a size immediately larger than or equal to the determined size 2, or the wavelet transform coefficients 5 in a decomposition level (i) having a size immediately smaller than or equal to the determined size 2 are utilized. That is, the decomposition level ‘i’ (integer) determined by the following formula (1) is obtained: (original image size)/2^(i+1)≦(determined image size)<(original image size)/2^(i)  (1)

That is, in FIG. 1, the wavelet transform coefficients 4 in the immediately higher decomposition level ‘i+1’ (=1) correspond to the LL subband in the 0-th decomposition level (i=0), and, thus, the size of the wavelet transform coefficients 4 is ½ (¼ in area) of the original wavelet transform coefficients 3. By thus utilizing the lowest-frequency (vertically and horizontally) component (subband), it is possible to obtain a decompressed image having a high definition at high speed, as a lower-frequency component (subband) of transform coefficients has a higher energy, and, thus, expresses an outline of the original image more faithfully. The wavelet transform coefficients 5 in the immediately lower decomposition level ‘i’ (=0) correspond to the whole four subbands in the 0-th decomposition level, and, thus, the size of the wavelet transform coefficients 5 is the same as that of the original wavelet transform coefficients 3.

Then, the wavelet transform coefficients in the decomposition level i or i+1 are decompressed in a next decompressing step D, and, thus, decomposition-level-type inverse wavelet transform is performed from the highest or last decomposition level (i+2=2, in the example of FIG. 1) up to the decomposition level i+1 (=1) or from the highest or last decomposition level (i+2=2, in the example of FIG. 1) up to the decomposition level i (=0), so as to obtain a decompressed image 6.

The system further includes a size-change determination step 7, a size-change processing step 8, an interpolation determination step 9, and an interpolation processing step 10. Thereby, size-change processing is performed on the thus-obtained decompressed image 6 in the size-change processing step 8 when the size-change determination step 7 determines that the size of the decompressed image 6 is not equal to the determined image size 2 and also size change should be performed so that the equal size of image be obtained. When the size-change operation is not performed and the decompressed image obtained in the decompressing step D is output as it is, a higher definition image can be provided while the size may be slightly different from the size indicated by the user.

In this case of performing size change, the interpolation step 10 performs interpolation operation on the thus-size-changed image when the interpolation determination step 9 determines that interpolation should be performed. Thus, a bitmap image 11 having the size equal to the determined size 2 is obtained. When the interpolation is not performed, pixels of a bitmap image to be output do not include pixels which are not included in the decompressed image. However, it becomes possible to reduce a time required for the processing.

In case where the size-change determination part 7 determines that no size change is needed, the decompressed image 6 is used as the bitmap image 11 as it is. In case where the size-change processing is performed, a well-known size-change form/scheme may be utilized. For example, a drawing function of Microsoft, Stretch DIB (Device Independence Bitmap), down-sampling/up-sampling scheme as disclosed in Japanese Laid-Open Patent Applications Nos. 2000-165664 and 2000-125294 of Sony, or the like, may be used.

When the size-change operation is performed, as the size of the image changes, each pixel of the image before the size-change operation may not correspond to a respective pixel of the image after undergoing the size-change operation. In a case where each pixel of the image before the size-change operation does not correspond to a respective pixel of the image after undergoing the size-change operation, interpolation operation may be performed in the interpolation processing step 6. For the interpolation operation, a well-known interpolation form/scheme may be utilized, for example, a linear interpolation scheme, a bi-cubic scheme, or the like.

By omitting the interpolation operation, it is possible to save a memory capacity and reduce a time required for the entire decompressing process. However, by performing the interpolation operation, it is possible to obtain a higher-quality decompressed image.

In the above-described process, the wavelet transform coefficients (in a form of code stream) coded in accordance with a scheme defined by JPEG2000, Image Coding System (ISO/IEC, FCD 15444-1) may be decompressed into a natural image in the decompressing-step D. Thereby, as the decompression is made to conform to the international standard JPEG2000, it is possible to provide compatibility with, and, thus, even from coefficients provided by various systems, a bitmap image 11 can be obtained by the image decompressing system according to the present invention.

Moreover, the bitmap image 11 may also be obtained through decompressing subband transform coefficients into a natural image, similarly. FIG. 2 shows an image decompressing method/system in a second embodiment of the present invention in which the bitmap image 11 is obtained through decompressing subband transform coefficients into a natural image. The image decompressing system in the second embodiment is the same as the decompressing system in the first embodiment shown in FIG. 1 except that the wavelet transform coefficients 3 are replaced by subband transform coefficients 12.

The subband transform coefficients 12 are different from the wavelet transform coefficients 3 in that, while, in the wavelet transform coefficients 3, level by level, only the LL subband is further decomposed up to the highest (last) decomposition level, all the four subbands are further decomposed up to the highest (last) decomposition level, level by level, respectively, in the same way, as shown in FIG. 2.

In the system shown in FIG. 2, the lowest-frequency-component (vertically and horizontally) subband transform coefficients 13 in the decomposition level (i+1=1) having a size immediately smaller than the image size 2 indicated by a user or the lowest-frequency-component (vertically and horizontally) subband transform coefficients 14(12) in the decomposition level (i=0) having a size immediately larger than the image size 2 indicated by a user is utilized. The lowest-frequency-component (vertically and horizontally) subband transform coefficients 13 in the decomposition level has the size which is ½ (¼ in area) the size of the original subband transform coefficients 12, and corresponds to the LL subband of the original subband coefficients 12. The lowest-frequency-component (vertically and horizontally) subband transform coefficients 14 in the decomposition level has the size which is the same as that of the original subband transform coefficients 12. By thus utilizing the lowest-frequency (vertically and horizontally) component, it is possible to obtain a decompressed image having a high definition at high speed, as a lower-frequency component (subband) of transform coefficients has a higher energy, and, thus, expresses an outline of the original image more faithfully.

Then, the subband transform coefficients 14 or 13 in the decomposition level i or i+1 are decompressed in a next decompressing step D, and, thus, decomposition-level-type inverse subband transform is performed from the highest or last decomposition level (i+2=2, in the example of FIG. 2) up to the decomposition level i+1 (=1) or from the highest or last decomposition level (i+2=2, in the example of FIG. 1) up to the decomposition level i (=0) for the relevant subband (lowest-frequency (vertically and horizontally) component), so as to obtain a decompressed image 6.

With reference FIG. 3, an image decompressing system/method in a third embodiment of the present invention will now be described. The difference between the above-described first embodiment shown in FIG. 1 and the third embodiment shown in FIG. 3 will now be described. In the third embodiment, instead of utilizing the wavelet transform coefficients (4, in FIG. 1) in the decomposition level ‘i+1’ immediately smaller than the determined/requested image size (2, in FIG. 1) nor the wavelet transform coefficients (5, in FIG. 1) in the decomposition level ‘i’ immediately larger than the determined/required image size, the wavelet transform coefficients (23, in FIG. 3) in the decomposition level ‘i+2’ (=2, in the example of FIG. 3) further higher than the decomposition level ‘i+1’ (=1, in FIG. 3) having the size immediately smaller than the determined/required image size (2). Thereby, in comparison to the first embodiment shown in FIG. 1, it is possible to further improve the processing speed-or to reduce a time required for the decompressing process further effectively.

In this case, the wavelet transform coefficients 23 in the decomposition level ‘i+2’ (=2) which corresponds to the LL subband of and thus further higher than the decomposition level ‘i+1’ (=1) which corresponds to the LL subband of the wavelet transform coefficients in the 0-th decomposition level (which corresponds to the original wavelet transform coefficients 3) is utilized, and, thus, the size of the wavelet transform coefficients 23 is ¼ ({fraction (1/16)} in area) of the original wavelet transform coefficients 3. Further, thus, the lowest-frequency (vertically and horizontally) component (subband) in the decomposition level is used. The reason therefor is the same as that mentioned above.

Then, the wavelet transform coefficients in the decomposition level i+2 are decompressed by the step D, and, thus, decomposition-level-type inverse wavelet transform is performed from the highest or last decomposition level (2-th or second level, in the example of FIG. 3) up to the decomposition level i+2 (=2) so as to obtain a decompressed image 25. Thus, in the example of FIG. 3, the inverse wavelet transform is performed only on the 2-th (second) decomposition level which corresponds to the LL subband of the 1-th (first) decomposition level (which corresponds to the LL subband of the original wavelet transform coefficients 3).

The other configuration is the same as that described with reference to FIG. 1, and duplicated description is omitted.

Moreover, when the decompressed image size determined by the image size determination step 1 is smaller than the size of the LL subband in the highest (last) decomposition level of the wavelet transform coefficients (in the example of FIG. 3, when the image size indicated by a user is smaller than the LL subband of the second decomposition level (2-th), that is, is smaller than the size which is ⅛ ({fraction (1/64)} in area) the original wavelet transform coefficients 3), decomposing processing or lower-frequency-component extracting processing is performed on the wavelet transform coefficients of the LL subband of the highest (last) decomposition level so as to obtain the wavelet transform coefficients of the LL subband in the further highest decomposition level. This processing is repeated until the size of the lowest-frequency (vertically and horizontally) component (subband) of the wavelet transform coefficients in the thus-obtained highest decomposition level becomes smaller than the decompressed image size determined by the image size determination step 1 or indicated by a user, as shown in FIG. 4. After that, through the decompressing step D, a decompressed image having the size smaller than the desired/determined image size is obtained.

This decomposition processing may be performed such that, after level shift is performed so as to make a color component expressed by the system be expressed by a non-sign integer, and, then, a lower-frequency component (LL subband, for example) than the LL subband in the current highest (last) decomposition level is obtained by using the operation formula used in the wavelet filter bank as it is. Alternatively, a lower-frequency component (LL subband, for example) than the lowest (vertically and horizontally) LL subband in the current highest (last) decomposition level may be obtained by simply taking an average of contiguity pixels. Since no additional hardware is needed in such a scheme, and, in the case of taking an average, merely an addition circuit and a shift circuit are needed. Accordingly, high-speed operation is possible.

In extracting a lower-frequency component from the wavelet transform coefficients of the LL subband 23 in the highest decomposition level in FIG. 4, the same wavelet transform formula (same filter bank) as that used in decomposing operation to extract the above-mentioned wavelet transform coefficients in the highest decomposition level 23 may be utilized as mentioned above. Further alternatively, for the same purpose, simple sampling or thinning-out operation may be employed, or a drawing function of performing size change such as the above-mentioned Stretch DIB may be utilized.

Moreover, the bitmap image 11 may also be obtained through decompressing subband transform coefficients into a natural image instead of decompressing wavelet transform coefficients, similarly. FIG. 5 shows an image decompressing system/method in a fourth embodiment of the present invention in which the bitmap image 11 is obtained through decompressing subband transform coefficients into a natural image. The image decompressing system in the fourth embodiment is the same as the decompressing system in the above-described third embodiment shown in FIG. 3 except that the wavelet transform coefficients 3 are replaced by subband transform coefficients 12.

As described above, according to subband transform, not only a lowest-frequency (vertically and horizontally) component (LL subband) but higher-frequency components (HH, HL, LH subbands) are decomposed in each decomposition level, different from the wavelet transform scheme.

Therefore, also by the fourth embodiment, same as in the above-described third embodiment, it is possible to obtain a high-quality decompressed image having a size nearest to a size input by a user, at high speed, needing a reduced memory capacity.

FIG. 5 shows a flow of operation/control starting from providing a subband transform image (subband transform coefficients), then input of a size of image by a user, and ending at providing a decompressed bitmap image 11.

In this case, the subband transform coefficients 33 in the decomposition level ‘i+2’ (=2) which corresponds to the LL subband of and further higher than the decomposition level ‘i+1’ (=1) which corresponds to the LL subband of the subband transform coefficients in the 0-th decomposition level (which corresponds to the original wavelet transform coefficients 12) is utilized, and, thus, the size of the subband transform coefficients 33 is ¼ ({fraction (1/16)} in area) of the original wavelet transform coefficients 12. Further, thus, the lowest-frequency component (subband) in the decomposition level is used. The reason therefor is the same as that mentioned above.

Then, the above-mentioned subband transform coefficients 33 in the decomposition level i+2 are decompressed by the step D, and, thus, decomposition-level-type inverse subband transform is performed from the highest or last decomposition level (2-th or second level, in the example of FIG. 5) up to the decomposition level i+2 (=2) so as to obtain a decompressed image 35. Thus, in the example of FIG. 5, the inverse subband transform is performed only on the 2-th (second) decomposition level which corresponds to the LL subband of the 1-th (first) decomposition level (which corresponds to the LL subband of the original wavelet transform coefficients 3).

Further, similar to the above-described third embodiment, when the decompressed image size determined by the image size determination step 1 is smaller than the size of the LL subband in the highest (last) decomposition level, decomposing processing is performed on the subband transform coefficients of the LL subband in the highest (last) decomposition level so as to obtain the subband transform coefficients of a lower-frequency component than the lowest (vertically and horizontally) LL subband of the current highest/last decomposition level. This processing is repeated until the size of the subband transform coefficients of the thus-obtained lower-frequency component becomes smaller than the decompressed image size determined by the image size determination step 1, as shown in FIG. 6. After that, by using the decompressing step D, a decompressed image having the size smaller than the desired/determined image size.

This decomposition processing may be performed such that, after level shift is performed so as to make a color component expressed by the system be expressed by a non-sign integer, and, then, a lower-frequency component (LL subband, for example) than the lowest (vertically and horizontally) LL subband in the current highest (last) decomposition level is obtained by using the operation formula used in the subband filter bank as it is. Alternatively, a lower-frequency component (LL subband, for example) than the lowest (vertically and horizontally) LL subband in the current highest (last) decomposition level may be obtained by simply taking an average of contiguity pixels. Since no additional hardware is needed in such a scheme, and, in the case of taking an average, merely an addition circuit and a shift circuit are needed. Accordingly, high-speed operation is possible.

The present invention is not limited only to the above-described embodiments. The respective functions (the above-mentioned image size determination step 1, decompressing step D, size change determination step 3, size-change processing step 4, interpolation determination step 5, interpolation processing step 6, and so forth are expressed as a software program by which a computer (such as that shown in FIG. 7) can be made to execute these functions actually. The software program is for example recorded in a recording medium such as a magnetic medium (for example, a magnetic tape, a flexible disk, a hard disk, etc.), a semiconductor memory (for example, a ROM, an IC memory card, etc.), an optical medium (for example, a DVD, an MO, an MD, a CD-R, etc.), or the like, to load it into various apparatuses.

The computer (see FIG. 7) which embodies the present invention performs the processing described above by reading the software program recorded on this recording medium, and controlling operation by the software program.

Moreover, the above-mentioned program may be downloaded from a server connected with a network, such as the Internet, and, thus, it may be installed into the computer such as that shown in FIG. 7. In this case, a memory storage which stores therein the above-mentioned software program in the server may also be included in the scope of the present invention.

In addition, based on instructions of the software program, an operating system etc. performs a part or all of the actual processing, and when the functions of the embodiments described above are embodied by the processing, these operation are also included in the scope of the present invention.

Thus, since the above-described functions can be embodied by a computer through a software program as described above, experiment of operation, reuse, and evaluation of coefficients obtained from coding an image by wavelet transform or subband transform scheme can be performed.

FIGS. 8 and 9 show block diagrams illustrating configurations of image decompressing apparatuses configured to execute the functions of the above-described first through fourth embodiments of the present invention, respectively.

For example, in FIG. 8 (corresponding to the first and third embodiments), the apparatus includes an image size input part 101 for a user to input a desired image size. For example, in dealing with images taken by a digital camera, thumbnail images obtained by reducing the size of the original images may be obtained and are displayed on a display device of a personal computer. In such a case, the user may input a size of image corresponding to thumbnail images.

Then, a level determine part 102 determines, based on the thus-input image size, by referring to decomposition-level-type wavelet transform coefficients previously stored in a wavelet transform coefficient memory 103, the level number ‘i’ (integer) of a decomposition level of wavelet transform coefficients such that the wavelet transform coefficients in the decomposition level ‘i+1’ has the size maximum but not larger than or equal to the input image size, and, also, the wavelet transform coefficients in the decomposition level ‘i’ has the size minimum but not smaller than the input image size. That is, the value ‘i’ is obtained according to the above-mentioned formula (1).

Then, a decompressing part 104 performs decomposition-level-type inverse wavelet transform from the highest or last decomposition level to the level i+1 or to the level i for the first embodiment. Alternatively, the decompressing part 104 performs decomposition-level-type inverse wavelet transform from the highest or last decomposition level to any level up to the level i+2 for the third embodiment. The thus-obtained decompressed image is stored in a buffer memory 105.

Then, as the necessity arises, a size-change input part 106 determines whether or not the size of the thus-obtained decompressed image is changed. When a user does not request size change, the decompressed image stored in the buffer memory 105 is output as it is as a bitmap image. When size change is requested through the size-change input part 106, a size-change part 107 performs size-change processing on the decompressed image according to a size-change rate (=(determined/user-requested image size)/(the size of the decompressed image)). The thus-obtained size-changed image is stored in a buffer memory 108.

Further, as the necessity arises as mentioned above, and also, interpolation is requested through an interpolate input part 109, an interpolate part 110 performs interpolation operation on the size-change image stored in the buffer memory 108. The thus-obtained interpolated image is then stored in the buffer memory 105 which has been emptied previously.

The image decompressing apparatus shown in FIG. 9 corresponds to the above-described second and fourth embodiments of the present invention. That is, in this image decompressing apparatus, instead of wavelet transform coefficients stored in the wavelet transform coefficient storage memory 103, subband transform coefficients stored in a subband transform coefficient storage memory 111 are used. The other configuration and operation are the same as those described with reference to FIG. 8, and duplicated description is omitted. However, as described above for the second and fourth embodiments, the subband transform coefficients are decomposed into subbands uniformly with respect to the frequency bands and with regard to the vertical and horizontal positions as mentioned above as shown in FIGS. 2, 5 and 9, and, a lower-frequency component (located upper and lefter in the transform coefficient, in the figures, for example) may be preferably used for obtaining a decompressed image.

Further, the present invention is not limited to the above-described embodiments, and variations and modifications may be made without departing from the scope of the present invention.

The present application is based on Japanese priority applications Nos. 2000-344391, 2001-142942, 2000-344155 and 2001-195937, filed on Nov. 10, 2000, May 14, 2001, Nov. 10, 2000 and Jun. 28, 2001, the entire contents of which are hereby incorporated by reference. 

1. An image decompressing method comprising the steps of: a) determining a size of a decompressed image; b) determining a decomposition level up to which decomposition-level-type inverse wavelet transform is performed; and c) decompressing given wavelet transform coefficients up to the decomposition level determined by said step b), wherein said step b) determines the decomposition level such that the wavelet transform coefficients in the thus-determined decomposition level have a size equal to or nearest to the size of the decomposed image determined by said step a).
 2. The method as claimed in claim 1, wherein the decomposition level determined by said step b) is such that the size of the wavelet transform coefficients of the thus-determined decomposition level is immediately smaller than the size of decompressed image determined by said step a).
 3. The method as claimed in claim 1, wherein the decomposition level determined by said step b) is such that the size of the wavelet transform coefficients of the thus-determined decomposition level is immediately larger than the size of decompressed image determined by said step a).
 4. The method as claimed in claim 1, further comprising the step d) of performing size-change operation on the decompressed image obtained by said step c) so as to obtain an image having a size equal to the size determined by said step a).
 5. The method as claimed in claim 4, further comprising the step e) of performing interpolation operation so as to obtain a bitmap image having the size equal to the size determined by said step a) from the size-changed image obtained by said step d).
 6. The method as claimed in claim 5, wherein said step e) comprises the step of performing linear interpolation.
 7. The method as claimed in claim 5, wherein said step e) comprises the step of using pixel values of pixels near pixels included in the decompressed image.
 8. The method as claimed in claim 1, wherein the wavelet transform coefficients to be decompressed by said step c) comprise a code stream coded in accordance with JPEG2000, Image Coding System (ISO/IEC, FCD 15444-1).
 9. An image decompressing method comprising the steps of: a) determining a size of a decompressed image; b) determining a decomposition level up to which decomposition-level-type inverse subband transform is performed; and c) decompressing given subband transform coefficients up to the decomposition level determined by said step b), wherein said step b) determines the decomposition level such that subband transform coefficients in the thus-determined decomposition level have a size equal to or nearest to the size of the decomposed image determined by said step a).
 10. The method as claimed in claim 9, wherein the decomposition level determined by said step b) is such that the size of the subband transform coefficients of the thus-determined decomposition level is immediately smaller than the size of decompressed image determined by said step a).
 11. The method as claimed in claim 9, wherein the decomposition level determined by said step b) is such that the size of the subband transform coefficients of the thus-determined decomposition level is immediately larger than the size of decompressed image determined by said step a).
 12. The method as claimed in claim 9, further comprising the step d) of performing size-change operation on the decompressed image obtained by said step c) so as to obtain an image having a size equal to the size determined by said step a).
 13. The method as claimed in claim 12, further comprising the step e) of performing interpolation operation so as to obtain a bitmap image having the size equal to the size determined by said step a) from the size-changed image obtained by said step d).
 14. The method as claimed in claim 13, wherein said step e) comprises the step of performing linear interpolation.
 15. The method as claimed in claim 13, wherein said step e) comprises the step of using pixel values of pixels near pixels included in the decompressed image.
 16. An image decompressing method comprising the steps of: a) determining a size of a decompressed image; b) determining a decomposition level up to which decomposition-level-type inverse wavelet transform is performed; and c) decompressing given wavelet transform coefficients up to the decomposition level determined by said step b), wherein said step b) determines the decomposition level such that the wavelet transform coefficients in the thus-determined decomposition level have a size further smaller than the size of the wavelet transform coefficients in the decomposition level immediately smaller than the size of the decomposed image determined by said step a).
 17. The method as claimed in claim 16, further comprising the step d) of producing a lower-frequency component from the LL-subband coefficients in the last decomposition level when the size determined by said step a) is smaller than the size of said LL subband coefficients in the last decomposition level.
 18. The method as claimed in claim 17, wherein said step d) comprises the step utilizing the decomposition-level-type wavelet transform formula used in the relevant system as it is.
 19. The method as claimed in claim 17, wherein said step d) comprises the step of averaging adjacent pixels.
 20. The method as claimed in claim 16, further comprising the step d) of performing size-change operation on the decompressed image obtained by said step c) so as to obtain an image having a size equal to the size determined by said step a).
 21. The method as claimed in claim 20, further comprising the step e) of performing interpolation operation so as to obtain a bitmap image having the size equal to the size determined by said step a) from the size-changed image obtained by said step d).
 22. The method as claimed in claim 16, wherein the wavelet transform coefficients to be decompressed by said step c) comprise a code stream coded in accordance with JPEG2000, Image Coding System (ISO/IEC, FCD 15444-1).
 23. An image decompressing method comprising the steps of: a) determining a size of a decompressed image; b) determining a decomposition level up to which decomposition-level-type inverse subband transform is performed; and c) decompressing given subband transform coefficients up to the decomposition level determined by said step b), wherein said step b) determines the decomposition level such that subband transform coefficients in the thus-determined decomposition level have a size further smaller than the size of the subband transform coefficients in the decomposition level immediately smaller than the size of the decomposed image determined by said step a).
 24. The method as claimed in claim 23, further comprising the step d) of producing a lower-frequency component from LL-subband coefficients in the last decomposition level when the size determined by said step a) is smaller than the size of said LL-subband coefficient in the last decomposition level.
 25. The method as claimed in claim 24, wherein-said step d) comprises the step of utilizing the decomposition-level-type wavelet transform formula used in the relevant system as it is.
 26. The method as claimed in claim 24, wherein said step d) comprises the step of averaging adjacent pixels.
 27. The method as claimed in claim 23, further comprising the step d) of performing size-change operation on the decompressed image obtained by said step c) so as to obtain an image having a size equal to the size determined by said step a).
 28. The method as claimed in claim 27, further comprising the step e) of performing interpolation operation so as to obtain a bitmap image having the size equal to the size determined by said step a) from the size-changed image obtained by said step d).
 29. An image decompressing apparatus comprising: a size determining part determining a size of a decompressed image; a level determining part determining a decomposition level up to which decomposition-level-type inverse wavelet transform is performed; and a decompressing part decompressing given wavelet transform coefficients up to the decomposition level determined by said level determining part, wherein said level determining part determines the decomposition level such that wavelet transform coefficients in the thus-determined decomposition level have a size equal to or nearest to the size of the decomposed image determined by said size determining part.
 30. The apparatus as claimed in claim 29, wherein the decomposition level determined by said level determining part is such that the size of the wavelet transform coefficients of the thus-determined decomposition level is immediately smaller than the size of decompressed image determined by said size determining part.
 31. The apparatus as claimed in claim 29, wherein the decomposition level determined by said level determining part is such that the size of the wavelet transform coefficients of the thus-determined decomposition level is immediately larger than the size of decompressed image determined by said size determining part.
 32. The apparatus as claimed in claim 29, further comprising a size-change part performing size-change operation on the decompressed image obtained by said decompressing part so as to obtain an image having a size equal to the size determined by said size determining part.
 33. The apparatus as claimed in claim 32, further comprising an interpolation part performing interpolation operation so as to obtain a bitmap image having the size equal to the size determined by said size determining part from the size-changed image obtained by said size-change part.
 34. The apparatus as claimed in claim 33, wherein said interpolation part performs linear interpolation.
 35. The apparatus as claimed in claim 33, wherein said interpolation part uses pixel values of pixels near pixels included in the decompressed image.
 36. The apparatus as claimed in claim 29, wherein the wavelet transform coefficients to be decompressed by said step c) comprise a code stream coded in accordance with JPEG2000, Image Coding System (ISO/IEC, FCD 15444-1).
 37. An image decompressing apparatus comprising: a size determining part determining a size of a decompressed image; a level determining part determining a decomposition level up to which decomposition-level-type inverse subband transform is performed; and a decompressing part decompressing given subband transform coefficients up to the decomposition level determined by said level determining part, wherein said level determining part determines the decomposition level such that subband transform coefficients in the thus-determined decomposition level have a size equal to or nearest to the size of the decomposed image determined by said size determining part.
 38. The apparatus as claimed in claim 37, wherein the decomposition level determined by said level determining part is such that the size of the subband transform coefficients of the thus-determined decomposition level is immediately smaller than the size of decompressed image determined by said size determining part.
 39. The apparatus as claimed in claim 37, wherein the decomposition level determined by said level determining part is such that the size of the subband transform coefficients of the thus-determined decomposition level is immediately larger than the size of decompressed image determined by said size determining part.
 40. The apparatus as claimed in claim 37, further comprising a size-change part performing size-change operation on the decompressed image obtained by said decompressing part so as to obtain an image having a size equal to the size determined by said size determining part.
 41. The apparatus as claimed in claim 40, further comprising an interpolation part performing interpolation operation so as to obtain a bitmap image having the size equal to the size determined by said size determining part from the size-changed image obtained by said size-change part.
 42. The apparatus as claimed in claim 41, wherein said interpolation part performs linear interpolation.
 43. The apparatus as claimed in claim 41, wherein said interpolation part uses pixel values of pixels near pixels included in the decompressed image.
 44. An image decompressing apparatus comprising: a size determining part determining a size of a decompressed image; a level determining part determining a decomposition level up to which decomposition-level-type inverse wavelet transform is performed; and a decompressing part decompressing given wavelet transform coefficients up to the decomposition level determined by said level determining part, wherein said level determining part determines the decomposition level such that wavelet transform coefficients in the thus-determined decomposition level have a size further smaller than the size of the decomposition level immediately smaller than the size of the decomposed image determined by said size determining part.
 45. The apparatus as claimed in claim 44, further comprising a lower-frequency component producing part producing a lower-frequency component from the LL subband coefficients in the last decomposition level when the size determined by said step a) is smaller than the size of said LL subband in the last decomposition level.
 46. The apparatus as claimed in claim 45, wherein said lower-frequency component producing part utilizes the decomposition-level-type wavelet transform formula used in the relevant system as it is.
 47. The apparatus as claimed in claim 45, wherein said lower-frequency component producing part takes averages of adjacent pixels.
 48. The apparatus as claimed in claim 44, further comprising a size-change part performing size-change operation on the decompressed image obtained by said decompressing part so as to obtain an image having a size equal to the size determined by said size determining part.
 49. The apparatus as claimed in claim 48, further comprising an interpolation part performing interpolation operation so as to obtain a bitmap image having the size equal to the size determined by said size determining part from the size-changed image obtained by said size-change part.
 50. The apparatus as claimed in claim 44, wherein the wavelet transform coefficients to be decompressed by said decompressing part comprise a code stream coded in accordance with JPEG2000, Image Coding System (ISO/IEC, FCD 15444-1).
 51. An image decompressing apparatus comprising: a size determining part determining a size of a decompressed image; a level determining part determining a decomposition level up to which decomposition-level-type inverse subband transform is performed; and a decompressing part decompressing given subband transform coefficients up to the decomposition level determined by said level determining part, wherein said level determining part determines the decomposition level such that subband transform coefficients in the thus-determined decomposition level have a size further smaller than the size of the decomposition level immediately smaller than the size of the decomposed image determined by said size determining part.
 52. The apparatus as claimed in claim 51, further comprising a lower-frequency component producing part producing a lower-frequency component from the LL subband coefficients in the last decomposition level when the size determined by said size determining part is smaller than the size of said LL subband of the last decomposition level.
 53. The apparatus as claimed in claim 52, wherein said lower-frequency component producing part utilizes the decomposition-level-type wavelet transform formula used in the relevant system as it is.
 54. The apparatus as claimed in claim 52, wherein said lower-frequency component producing part takes averages of adjacent pixels.
 55. The apparatus as claimed in claim 51, further comprising a size-change part performing size-change operation on the decompressed image obtained by said decompressing part so as to obtain an image having a size equal to the size determined by said size determining part.
 56. The apparatus as claimed in claim 55, further comprising an interpolation part performing interpolation operation so as to obtain a bitmap image having the size equal to the size determined by said size determining part from the size-changed image obtained by said size-change part.
 57. An information recording medium recording therein a software program for causing a computer to execute the steps of: a) determining a size of a decompressed image; b) determining a decomposition level up to which decomposition-level-type inverse wavelet transform is performed; and c) decompressing given wavelet transform coefficients up to the decomposition level determined by said step b), wherein said step b) determines the decomposition level such that wavelet transform coefficients in the thus-determined decomposition level have a size equal to or nearest to the size of the decomposed image determined by said step a).
 58. An information recording medium recording therein a software program for causing a computer to execute the steps of: a) determining a size of a decompressed image; b) determining a decomposition level up to which decomposition-level-type inverse subband transform is performed; and c) decompressing given subband transform coefficients up to the decomposition level determined by said step b), wherein said step b) determines the decomposition level such that subband transform coefficients in the thus-determined decomposition level have a size equal to or nearest to the size of the decomposed image determined by said step a).
 59. An information recording medium recording therein recording therein a software program for causing a computer to execute the steps of: a) determining a size of a decompressed image; b) determining a decomposition level up to which decomposition-level-type inverse wavelet transform is performed; and c) decompressing given wavelet transform coefficients up to the decomposition level determined by said step b), wherein said step b) determines the decomposition level such that wavelet transform coefficients in the thus-determined decomposition level have a size further smaller than the size of the wavelet transform coefficients in the decomposition level immediately smaller than the size of the decomposed image determined by said step a).
 60. An information recording medium recording therein a software program for causing a computer to execute the steps of: a) determining a size of a decompressed image; b) determining a decomposition level up to which decomposition-level-type inverse subband transform is performed; and c) decompressing given subband transform coefficients up to the decomposition level determined by said step b), wherein said step b) determines the decomposition level such that subband transform coefficients in the thus-determined decomposition level have a size further smaller than the size of the subband transform coefficients in the decomposition level immediately smaller than the size of the decomposed image determined by said step a). 